package com.panda.mall.common.mallCoupon.entity;

import javax.validation.constraints.NotNull;

import java.io.Serializable;


import com.baomidou.mybatisplus.annotation.TableName;
import com.panda.mall.common.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
* 标准商品积分设置表
* mall_coupon_spu_bounds
*/
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("mall_coupon_spu_bounds")
public class MallCouponSpuBounds extends BaseEntity implements Serializable {

    /**
    * 主键id
    */
    @NotNull(message="[主键id]不能为空")
    @ApiModelProperty("主键id")
    private Long id;
    /**
    * 标准商品id
    */
    @ApiModelProperty("标准商品id")
    private Long spuId;
    /**
    * 成长积分
    */
    @ApiModelProperty("成长积分")
    private Integer growBounds;
    /**
    * 购物积分
    */
    @ApiModelProperty("购物积分")
    private Integer buyBounds;

}
